package com.jason.campusinn.view;

import android.app.Dialog;
import android.content.Context;
import android.os.Bundle;
import android.view.Window;

import com.jason.campusinn.R;


/**
 * Created by yuandian on 2015/6/1.
 */
public class LoadingDialog extends Dialog {

    public LoadingDialog(Context context) {
//        super(context, R.style.loadingdialog_style);
        super(context);
    }

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        Window mWindow = getWindow();
        mWindow.requestFeature(Window.FEATURE_NO_TITLE);
//        mWindow.setContentView(R.layout.dialog_loading);
        setCanceledOnTouchOutside(false);
    }

}
